package com.qth.valet.entity.req;

import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;

@Data
public class RechargeReq {

    @Min(value = 3000, message = "支付金额不能低于30元")
    @Max(value = 1000000, message = "支付金额不能高于10000元")
    private Long amount;

    private Integer payChannel;

    @Min(value = 0, message = "参数异常")
    @Max(value = 2, message = "参数异常")
    private Integer rechargeType;

}
